#include "mainwindow.h"
#include <QApplication>
#include <QFile>
#define QT_NO_CAST_FROM_ASCII
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QFile file(":/style.qss");
    if (file.exists()) {
        file.open(QFile::ReadOnly);
        qApp->setStyleSheet(QLatin1String(file.readAll()));
        file.close();
    }

    MainWindow w;
    w.show();

    return a.exec();
}
